package com.hxzy.dto.mapstruct;

import com.hxzy.dto.resp.AdminLoginVO;
import com.hxzy.entity.Employee;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Description Employee--> AdminLoginVO
 * @Author wy
 * @Date 2023/5/8 10:13
 */
@Mapper
public interface LoginBeanConvert {

    LoginBeanConvert  INSTANCE= Mappers.getMapper(LoginBeanConvert.class);

    /**
     * 把employee转换为AdminLoginVO
     * @param employee
     * @return
     */
    AdminLoginVO employeeToAdminLoginVO(Employee employee);

}
